Fix post-edit TaskRecommendationImpression logging

If there are no task recommendations can be shown to the user, because,
say, there are no similar articles, then don't log a
TaskRecommendationImpression event.

Bug: 70350
Change-Id: Iea87ae751b55ffd64cb5cf5c3e87b85cb5887a68