Fix for:  https://issues.jboss.org/browse/SRAMP-477

https://issues.jboss.org/browse/SRAMP-477