Fix the deck formatting so that they are valid.