fixed issue that was causing issues with transactions, see: https://github.com/orno/db/issues/7 for more details