Find closest child element which matches given filter.