Transitions: Handle undefined input to mergeKeySet

Gracefully handle undefined input to mergeKeySet.