Changes queryRecords() call in records controller to properly pass query parameters.