Removing duplicated history options