Let's get back to the original question. Nitrates are the result of the break down of ammonia compounds by nitrifying bacteria. Bacterial action on food, decaying plants, detritus etc. are all sources of nitrates. It is impossible not to have some nitrates in the tank.
It is not the filter that causes a nitrate problem, it is lack of regular cleaning, overfeeding, failure to vacuum thoroughly, and do regular water changes.
The bacteria that consume nitrates are anaerobic (do not like 02) so they will not grow in a filter. There are filter bags available filled with nitrate scavaging resins that will greatly reduce nitrate amounts. Regular cleaning and water changes will do the same thing
Regards,
Jay