Fix for OCM-68

This is a fix for https://issues.apache.org/jira/browse/OCM-68