committing fix for https://wso2.org/jira/browse/CEP-900
Merge pull request #21 from sacjaya/master

Merging fix from Sachini for https://wso2.org/jira/browse/CEP-900