corpus: respect more attributes when looking up permanode's time

Change-Id: I2ed9f9f100109510c1617e465a8d3e2b3261d244