fix bug in delete mission behaviour