Remove repetitive cases