Remove wrong array branch from equal