Fixed the infinite nested loop.

I had an infinite loop running within my code. Fixed error.