The terms during purchase made it sound like if they discovered a ticket was sold for higher than $45, then they would cancel the ticket without refund. So both buyer and seller get screwed.
If they refund the final purchaser, then the scalper still makes his money and the purchaser loses the amount above the face value.
In both scenarios, the scalper makes his money, or even more than he would have otherwise.