I left a company with a noncompete in place (it was largely valid) and did consulting work for them. The two relationships are completely separate. As a full time employee, I had signed the noncompete. As soon as my full time employment ended, the term of the noncompete began counting down. My later relationship with the company was completely separate, with its own contract (which I ensured had no non-compete clauses).
I could easily see similar happening for Jim, here. The full time role has expired, and there is a new, separate contract for consulting work.