Fix all categories shown for each visual group

Lost in the commit to bootstrap the latest view. Currently all
categories are shown for each visual group. This commit fixes this
issue and only the categories for the specific visual group are shown.