Added the fixed HTML entities to SQL Upgrades

This time it's all fully tested - hope you forgive me for last time!

The semi-colons didn't need escaping from the MySQL queries.

I've added the changes to the SQL update scripts.