fix paging bug with active select-all button