Fail to advanced editor on wrong number of args

This could happen if the user typed an expression like `selected(/data/things, 'thing1', 'thing2')` (which incidentally may not be a valid function call). Previously the third argument would have been silently discarded.