Implemented basic paging in Entry query.