bug fix: no more repeated entries in output

though the bug does not manifest itself for dudokus
but it does for sudokus.