Fixed condition where no databases to import