It brings me to the shop right away without being able to place anything after the letter
Not quite sure what uou mean...
Are you discarding the letter or completing the grid?
Edit: Oh This
Weird, looks like if you discard when there is only one more spot left, it triggers the ending. But seems to work correctly when there are more spots left.