Fix oneEventMode parameter setting when no configuration is passed

Had to convert this to an integer because the REST "does not accept booleans"