Fixed a SQL syntax error when inserting the notification record.