Change to contract as soon as returned from maternity leave

I was put on a temporary contract on my return from maternity leave, despite having been in post for five years prior to my maternity leave. Admittedly towards the end of that year, I was awarded a permanent contract if I agreed to full time hours. This is a school – not very family friendly.