Keep latest entry when removing duplicates (#8)