Fix template magic in group view.