re-correct value passed back from `getRregisteredModuleCategoriesIds()`
correct upgrade routine to rename column
Merge pull request #1251 from craigh/categoriesfix

Categoriesfix