I want to record a sell of split share. The split happen as below:

When I want to record the sell, Quicken refused to proceed by showing that I owned just 1 share short.

I supposed to own 18,200 shares (by clicking on "Sell all shares in this account), but when I click "Enter/Done" button, it says that maximum shares is only 18,199.
How should I proceed to record this sell?
Note 1: I entered all transactions manually.
Note 2: The number of shares and amount of 9,646 was matched with my brokerage account.