401K loan rollover

I have taken a loan against my 401K. I was paying it back as prescribed when I got laid off (Sept 2021. I contacted Vanguard to ask what to do. They instructed me that as long as i continued to make payments there were no problems. I continued to make the payments. When I secured a new job (Dec 2021) I rolled my 401K over. I paid the loan off with the proceeds from the roll over. Is there anything I can do to preserve that "tax-free" status from the loan proceeds?