Fixed missing line in duplication removal