Fixed a bug where a method in DBRegistrar said it threw a exception that it shouldn't have.