Fixing tolerance issue when parts of the solutions are zero.