Fix cashbook bug