Fix isThisType implementation

Previously, the NDPI reader would pick up any TIFF file not picked up by
a reader that was earlier on the list.