def convert_single_to_list(val):
    """If a single object is provided, replace with a list containing only that object"""
    if val is None:
        return []
    if not isinstance(val, list):
        return [val]
    return val
