fixed typo in is_active method of Poll