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

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