Fix bad pattern match.