Fixed bug with grid display paging