Fixed the GET issue with pagination