This is something which doesn't make sense to me. Why are they assuming that you WERE a recruiter, why aren't they assuming you ARE a recruiter if this is due to sexism? Clearly they are assuming that you ARE a programmer, but used to be a recruiter.
Assuming a person USED to adhere to a gender/race/group stereotype is a weird thing.