I've received a reply from Adam at IndexData. He's looked into the problem and has added a fix as part of YAZ 5.20.0.