Without too many details so it doesn't out me, there's a course coming up which my department are going on. I was told last week that a few people are not allowed to go for various rubbish reasons. My reason was that as I'm pregnant, I'll be on maternity leave next year. 
I work as a teacher so anything on the course will be useful when I return. AIBU or are they discriminating against me?