HSG during period

Samantha
So I had an HSG done last week and my doctor specifically requested that the test be done during my period to make sure I wasn't pregnant. But after reading up on the procedure it seems to make more sense to wait until you aren't bleeding because that way you don't push menstrual blood through your tubes...anyone else had an hsg during their period who can weigh in?