Fixed 3.10.0 regression with fire(type, null) with emitFacade:true

Added a test case, which passes prior to 3.10.0, and again with this fix.

All library tests pass, with the fix:
✔ [Total]: Passed: 10862 Failed: 0 Total: 10957 (ignored 95)