Fixed a bug in Sudoku validation.