extend contained_with_type support for vacuum scheme check