fix duplicates boolean

Change-Id: I9bbbaa1ee449426714c492b95ea716f2b44a5b3f