Only consider unique image attributes when determining best match.
Merge pull request #373 from Shizmob/master

Only consider unique image attributes when determining best match.