An employer must ensure that pregnancy or parental leave is not the reason, or even one of the reasons, for redundancy.