fix pager when no documents found