Undid accidental change that caused pagination to break