Correct invalid patch specification.