Improved fixes to pagination to include user defined function in filter alongside paginated filter by word