FIX for check_contrasts that failed to remove empty contrasts
refactor