make 'should be on path' step considering the anchor if present