Fix regression - check that evaluating the script returns a clip
Fix exception on parsing of some function definitions

If for an int argument a list of valid values is provided but not a
default value