Fixing sql single quote bug again. Must have left on master branch.