Ensure adjustment always created with transaction

To close issue #57.