Naive case-insensitive search.

def filter(self, table, group_types, filter_string):
        """Naive case-insensitive search."""
        query = filter_string.lower()
        return [group_type for group_type in group_types
                if query in group_type.name.lower()]