changed way sub_types can be selected

object_with_sub_type is now list_objects_with_sub_type, because it
returns a list with indices
objects_with_sub_type is new and returns a list with objects