i would say that's your issue... water logged soil will produce a similar look to nitrogen deficiency.
that would also account for the thrips and flies, their larvae like those kind of conditions.
you could transplant into a mix that has more perlite?
my bro just used something called promis...