Fixed issue with msg override attribute and double quoting if invalid quote characters are used.