When the employee returns to work after maternity leave and if, during her pregnancy, she has been subject to a change of assignment under the conditions provided for in this paragraph, she shall be reinstated in the job held prior to that assignment.