To begin with they shouldn't have terminated you and you should have gone to MOM and lodge a report against them for unlawful termination.
I would suggest to you to call MOM and enquire.
http://www.mom.gov.sg/employment-practices/leave/maternity-leave/maternity-leave-disputes
Read more