Added a check to make sure illegal puzzles don't try and get solved