Fix empty alert types when they are strings