When there are no results, always ensure that max pages is 1. This commit also changes the way pagination buttons are displayed, removing their border.
When there are no results, always ensure that max pages is 1. This commit also changes the way pagination buttons are displayed, removing their border.