Entries are read directly from Apple Health app. If there is a duplicate entry, then it is most likely duplicated in Apple Health app as well. Please delete the duplicate there.