Fixed the pagination detection in search methods, along with other minor bugs, and added some checks for valid fields in a query result when dealing with lists.