trivial: Improve the check for duplicate icons