Added bugfix to debug mission.