Fixed bug in default parameters that treat numeric 0 as null (or 'empty')

The shortcuts used in run() and replaceDefaults() will assume 0 as NULL and thus not send the parameters to the action.