Plan.on('change end_time', function (plan, val, prev) {
  if (val <= plan.start_time()) plan.start_time(val - 1)
})