If one female employee is pregnant and before she goes on to maternity leave a new female is hired for a 6-month trainig period and with a probation period of 1 year, later on, the new female hired also gets pregnancy confirmed within 3 weeks of joining, will she be entitled to maternity benefits? Will her dismissal just a week before the confirmation of pregnancy be considered valid?