Fixed a bug with notification payload validation