fixes SQL typo and return value in GetImportBatchStatus()