WFLY-469 Small fix for EL 3 support.

Without this, you will get a ClassCastException in some JSF apps.