Prevent trying to enumerate on infinity