Fixing error when failing to rollback