Proper numbering for paginate search results