Add error guards to `raw_query_attrs`