Fixed a bug with the ' symbol

SQL thinks they are string symbols when they are really just part of the
messages.