def globalize_query(search_query):
    """
    Take the bag parts out of a search query.
    """
    query = ' '.join([part for part in search_query.split()
        if not part.startswith('bag:')])
    return query