Clearing metadata on search button click