Yes there is a problem.
The $50k loan interest is now not deductible. You have borrowed to invest into a savings account mixing the borrowed money with cash.
It is not a contamination issue as all loans are separate. So what you could do is to pay $50,000 into the new loan (make sure this...