SuggestedEdits: Only log task impression for EditCardWidget
Other card widgets have their own impression
type ('se-task-pseudo-impression'), so this code should be conditioned
on having an edit card widget. That in turn means that this.logCardData
won't fail when it ends up expecting an actual task; 'task' is undefined
when looking at the end of the queue, or in case of an error.