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

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