Fix for SPC-972 - Failed to save the new custom event definition.