Fix for loading limited lists

Bug when loading lists with lower than 25 items, e.g. comments for a
user with only 2 comments. The system got in a loop.