Fixed delete deadline (in manage_deadlines)