Update externallinks.php

Fixed blank tags bug caused by new data age gap reduction checks.
Attempted additional data validation when recovering from a crash to prevent a faulty run.