Previous/next Container selection
If selection is Container Selection previous next fails. Best to give the end of the selection as starting point.
If selection is Container Selection previous next fails. Best to give the end of the selection as starting point.