Issue #24627 - skip canceled items when using Next or Previous

Exclude coitem with coitem_status of "X" when clicking Next or Previous.