Prevent exception when prettifying without a selection