Fix a bug with poll initial state not considered when checking for active poll