Fix matching end-tag in bioformats patch