Added a fix to the empty pagination input field bugs.