Reproducing and fixing the issue with the native NH transaction not beeing
commited. Closes #1049