Avoid throwing an exception when trying to use a JoinDataDefinition and one of the input IdSets is empty.