Fixing https://issues.apache.org/jira/browse/STRATOS-939