Update query_parser to use Record.is_record?