An employer may not deny a female employee maternity leave or entitlements, or any of the protections afforded under this Division by reason that she is not married to the father of the child carried during a pregnancy term or relevant to the period to which she is entitled to maternity or pregnancy benefits.