Fix if statement checking tiff finding.