fix isDebit() method of Operation