Fixed issue #71 (transaction bug)