Fix bug when an extended slice's stop argument is missing.