Improve LIGO LFN2PFN for O1, O1 and O3 compatibility