def _get_filter_list(filter_header):
    """Returns a cleaned list from the provided header string."""
    if filter_header is None:
        return []
    filters = [item.strip() for item in filter_header.rstrip(",").split(",")]
    return filters