The traditional idiom is “if worst comes to worst.” The modern variation “worse comes to worst” is a little more logical. “Worse comes to worse” is just a mistake.