Fixed PRAGMA calls that were missing quotes for non-standard table names