Fix alert type expression.