Fixing bug in if check
Merge branch 'master' of https://github.com/wso2/enterprise-store