Unify checks on smearing_performed and calculate_forces.