It's just bad luck, not a glitch. It's a 50/50 shot and you just keep getting the male end :)
If you flip a coin enough times, it'll eventually land on heads 7 times in a row, same principle here. If you don't like the males, release and keep trying :D