Change to single quotes for SQL where clause

This is my second attempt to fix the PG error we're getting with my
:html scope. Perhaps PG will be happier with single quotes.