Fixed bug preventing some puzzles from being solved.