Fixed mission dependencies bug