fixed paging issue with tag search