Fix evaluation of script functions with zero arguments.
Better fix for script functions with zero arguments.
Merge pull request #345 from phw/fix-script-function-with-zero-arguments

Fix evaluation of script functions with zero arguments.