fix bug in previous commit, changed paginator to return last page instead of page 1 when the page is invalid (like when going back after comment deletion)