Fix a boneheaded logic error in poll interval management