Fixed dumb pagination mistake, changes made both back and frontend