Fixed the function that removed duplicate points in PL