you're right, this check + concatenation should not be done here, but rather in the code where we display the results.

Here we should only have details.type and details.carrier imho.

Let's keep this for another bug, could you please file it though ?