Fixed bug which allowed disabled pagination to navigate