attempted duplicates detection fix jywarren/plots2#181