$empty now is set for all falsy values instead of just void values and all task types

$empty was being set only for "function" tasks!