Fixed the impaginated get posts