fix duplicates merits https://www.hostedredmine.com/issues/354395