Start looking for a new job immediately. You are 5 months pregnant not 8.5 months. So I wouldn't say that employers wouldn't hire you. I am sure you will probably get discriminated against since you are pregnant, but I don't believe that is going to be the case with every employer. Some may actually feel for your situation (certainly women and probably some men).
And it is illegal for the potential employer to even record that information or pass it along.