Fix crash when no solution is specified.