Fixes NPE when trying to schedule in edit anyway mode.