fix negated return value of ns_skiprr, breakage in related functions