poll-system: fixed wrong expression in if construct