Fixed problem with raw queries against postgres vs sqlite.
Coverage back to 100%.