E2 UDF: Fixed undefined functions not returning type defaults
This fixes some circumstances where duped E2's with UDFs would fail vaguely
Fixes #217