SANITIZE method did not properly handle the case when there was only one...

... read group (NPE)
targetFormat != null