Fixed frequency depending superstep output

* if frequency is AT_THE_END (-1) it was also written in the first superstep because 0 % -1 = 0