[ticket/13420] Correctly filter by lt/gt/equal to 0 posts when pruning users.

[PHPBB3-13420](https://tracker.phpbb.com/browse/PHPBB3-13420)