Very likely, _replace_current_schedule has bug. Need to debug and prepair if true