Ensure that key exists before assigning them to an action
Merge