Fixed: Wrong template name passed to the onLoadTemplate event (MySQL server implementation)