Fixed bug in SQL insert query

Fixed bug that would generate an SQL error, not inserting anything into the predb table during import.