filter contained objects to ensure we only pick up those that are of an allowed type.