Updated queries to string_ids