More checking for degenerate solutions.