Handle case where no solution found