PG quote issue fix

Fix for #59