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

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