Fix a potential issue if the execution ID isn't set.