Another bug fix for rest client + dcm4chee