EMM-630 : fixed sql issue in report
Merge branch 'develop' of https://github.com/wso2-dev/product-emm into develop