Minor fix to use term slugs rather than names.