[FIX] Check return type in coerced function items.
Merge pull request #837 from LeoWoerteler/fitem-coerce-fix

[FIX] Check return type in coerced function items.