Fix 'on command' event

Didn't read generic 'on command' without a name as valid