Fix: Database not building from scratch, throwing exception.