Refactor lenses_spec for get_predicate
Don't use a nil connection