HotFixed bug in lib/database/registries.js