Diatoms are high in silica.
They grow best when there is a source of silica in the water.
Sand is such a source. While the sand is new, small amounts of silica come out into the water, and the diatoms eat it up and grow more diatoms.
Otos eat diatoms, but do not retain the silica. They poop it out. Then the waste is decomposed and the silica freed to be reused, making more diatoms.
To get rid of the diatoms I would be as diligent as you can in vacuuming the floor of the tank, and cleaning the filter to remove the Otos' waste. Also, hand removal of the diatoms can help. Not just break them off and let them drift and get caught by the filter, but actually taking them out of the system. Water changes will also remove the silica.
---------------------------------------------
Nitrogen cycle:
Proteins added to the tank (fish food) introduce nitrogen into the system. Fish and microorganisms eat the proteins and break them down.
Fish produce ammonia, and microorganisms that decompose fish waste and fallen food can produce ammonia.
Plants, algae and ammonia oxidizing organisms use ammonia.
Ammonia oxidizing organisms release nitrites.
Plants can use nitrites, and nitrite oxidizing organisms (Nitrospira species) nitrites. (I am not sure about algae).
The nitrite oxidizing organisms release nitrate.
Plants can use nitrate, and I think algae can, too.
When there are insufficient nitrifying organisms (ammonia or nitrite oxidizing organisms) then you will see ammonia or nitrite in the water. A tank showing ammonia or nitrite is not cycled.
In a planted tank, the plants are also part of the bio filter, and play their role in removing nitrogen in all its forms.
Algae also removes nitrogen.
tank is not cycled completely, so you have an excess of nitrates
This is false.
When there are plenty of nitrifying organisms then you should not see ammonia or nitrite in the water, but will see rising nitrates.
When there are plenty of nitrifying organisms then the system is cycled with respect to the nitrogen cycle.
Rising nitrates is a sign that it
is cycled.
The nitrifying organisms will only grow to match the food supply. It does not matter how much bio media you have. If there is just a little bit of ammonia, then only a small bacteria population will grow. Microorganisms will grow on all the surfaces in the system that suit them. Nitrifying organisms thrive in high oxygen, dim locations. They will grow on all the filter media, and in most locations in the tank. Having additional bio media does not mean you have more nitrifying organisms.
---------------------------------------------------
What else has changed when you changed the filter?
Better water movement? Perhaps this is circulating the fertilizers from the substrate tablets. Some sands allow quite a bit of water movement through the spaces between the particles. This might also stir up more silica too.