Added distintEventNamesSwitch validation