Fixed a bug with notification upgrading.