Fixed bug in the DB::rollBack method