Fixed bug in chitchat template events.