added more idiomatic and generalized pickout method to FilterHelper