fix inaccuracy in VS_ISEQ macro

* double check of sched field
* compilation warning (boolean operator precedence)