Housing options?!

I live in a tiny 2 bed flat via housing association in the UK, and I am currently pregnant with my 2nd child. The contract says maximum of 3 people living here, I currently live with my 4 year old daughter and my partner.

My question is, will the council/housing association rehouse me when my 2nd child arrives and it is a boy? Because girls and boys need separate rooms. And obviously when the child gets to a certain age as I assume they won’t move me straight away after birth. I’ve have no end of problems here from horrible mould in the bathroom and both bedrooms to leaving us 1 weeks without hot water and heating because they ‘had no one to send over at such a busy time’. I feel like they will make this difficult as hell for us to move seeing how they are being now 😔