Fix crash due to mission index not resetting