Revert "Revert "bug fix in initial installer for Hide Categories""

This reverts commit ef0d3986580024b409551f3c6b808bbe9cb9e783.