Whenever I have diatoms it can be attributed to recent substrate addition and the silica it brings in. IMHO more likely silica than nitrates. I have only ever got rid of my diatoms with increased water flow and patience until the silica source is exhausted.