Fix visibility of grouped categories. Closes #32.