Did a basic patch on a bug that created an infinite loop.