fix for case of single slice with start, stop or step that is not none