An employee receiving differential compensation on the basis of his or her shift shall not lose that compensation if the employee is temporarily, for 20 working days or less, assigned to a shift not entitled to that compensation. The regular rate of pay for all purposes of an employee assigned to a shift which provides differential compensation shall be the differential rate.