Tasks: Fix display of categories. Closes #1022