maternity restrictions