Fixed a serialization bug with Alerts