fix duplicate detection (bsc#903677)