Fixing WSO2 Event Input Adaptor bug