Fixing pagination layout for data search.