Fixing period problem in PairtreeReader.