Screen empty whens to prevent exception when sorting