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

Change sNext and sPrev to exclude canceled items.