Fixes sql errors caused by odd and unexpected behavor in dbcon.Quote()
Merge pull request #921 from MrStonedOne/sqlquotefix

Fixes sql errors caused by odd and unexpected behavor in dbcon.Quote()