fix handling of LaunchRule->maxApplicationCount