Note the use of the updated `permalink()` method here in place of `home_url()` that was causing the results in the widget to reflect global term usage, not the results of the specific query the user was looking at.