updated mission item creation logic to prevent incorrect placement of mission items.