def sub_settings(logs, log):
    """Check settings of newer rip; add new deductions and pop fixed deductions."""
    for deduction in logs[0].deductions.copy():
        if not log.has_deduction(deduction) and len(log.tracks) == len(logs
            [0].tracks):
            logs[0].remove_deduction(deduction)
    for deduction in log.deductions.copy():
        if not logs[0].has_deduction(deduction):
            logs[0].add_deduction(deduction)
