Fixed typo.
Commit transaction after purge_revision. (Issue #19)