Fix crashes caused by trying to shift selection extents up or down in an empty document.
Fix crashes caused by trying to shift selection extents up or down in an empty document.

jpetrie/quip,jpetrie/quip