Don't attempt to wrap a list when the selection is empty and between the wrapper and a child.
Updated tests