finished filtering metadata with search keys