Adding fix for CEP-907

To handle regression issues caused by fix on CARBON-14867
Merge pull request #14 from wso2-dev/master

sucessfully commited the changes
Timestamp : Tue Sep 02 13:06:25 IST 2014
https://wso2.org/jenkins-pr-builder/job/product-cep/109/