Possible infinity bug fix

Check for yourself