Fixing bug when trying to acquire data on clean db.