Fix PMID checking