fix check for profit/loss accounts in method button_confirm_cash of account.cash.statement

The check is obviously wrong.