bugfix for certain transaction type
Merged #2