Correct Polyvoew entry and remove duplicates.