Fixed hardcoded limit on latestPosts()