Fix duplicate result if name contains SKU

Fixes #2409