Fix parser infinite loop for Frontiers in Neuroscience PDFs.