Further fix of overflow caching: the repeated visibility check here has the same issue we had in the memrata code.  Use the same solution: read the oldest ID once before checking anything.

refs #726