discardUnauthorisedDBs now works correctly.