fix IE's AJAX pagination and reset page if count > 0, but results = empty