def fix_index_out_of_range(data):
    """
    Fix list index out of range error by checking if the length is sufficient.

    Args:
        data (list): List containing tuples with target information.

    Returns:
        list: Filtered list of targets with valid indices.
    """
    return [target for target in data if len(target) >= 4]