Added failsafe for dropDatabase method.