Bug fix: should have checked if the vessel was loaded.