Fix for RESTEASY-822