Another minor tweak to getDB