By default, the comparison is performed for all lines. Normally exactly this behaviour makes sense!
However, if you want to change the behaviour then set the key SearchForProjects on 1. Then only a standard line is used for the comparison.
[DuplicatesSettings] SearchForProjects=1