advanced search: add search for metadata within statement