fixes #6998 mass delete via 3rd party importer
refs #6998 change flag method
refs #6998 fix condition statement