Pagination buttons bug

Pagination buttons now work on all detailed profile pages.