Fix legality testing for promotions