Fix for MODCLUSTER-349

Please, see [MODCLUSTER-349](https://issues.jboss.org/browse/MODCLUSTER-349?focusedCommentId=12805228&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12805228) and adjoining comments.