Remove to_s from select_by_types
Remove nil values from to_s result