Fixed an error where puzzles involving branching were not solved.