Fix editor insert/delete mission boundary cases

Insert didn't work when no missions
Delete crashed when no missions