Critical fix for end of day infinite loop