def fix_fail(data):
    """
    Fix FAIL list index out of range by checking if data is a list and has at least one element.

    Args:
        data (list): A list containing tuples with target data.

    Returns:
        list: The input list with the first element returned if it exists.
    """
    return [x[0] for x in data if len(x) > 1]