Added alert level field to alert persistence.