Whenever I attend PWT, it is always like this. Different gym leaders show up each time I battle World Leaders. In no particular pattern, either. I know type advantages will win, because that exact same situation happened with me as well.
I know the other ones are random because Blaines matched up with Elesa one time in the game, and Elesa moved on. They matched up again a couple of games later, and Blaine got through.