Fix the infinite loop issue that occurs when command with overflow: never is not defined at first place.