fixing bug in bundle import that would wipe the db.  This caused issues in the idexes not being recreated