You're right. I'll update with the check from https://github.com/joshmoore/openmicroscopy/commit/71d7dbda00d5f10aea1ba00d7f289ca553cc9ccb since it's more robust anyway.