Fix the bug for the infeasible check on seed plan