Update Alert.cpp

As per review: #432 merged the same into 5-0-sp2-stable branch.