De-duplicate multiple name hits for same resource (fixes #1)