Fixed an issue with pagination display, if there are 0 results.