No, that solution should have also worked. There are multiple [2] solutions to the puzzle but it would seem that the creator of the game has hardcoded the solution to only accept one of the solutions.
For a nonogram/picross esc game then it would be recommended to either design the puzzles to either have only one solution and/or more preferably encode the game to accept any acceptable solutions.