No longer creating transaction when not persisting

Fixes #162.