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