def query_filters(composed):
    """
    Given a composed query, return list of all filters; for
    migration purposes, we only really need first.
    """
    r = []
    for group in composed:
        for rfilter in group:
            r.append(rfilter)
    return r