Fixed potential problem with pindex blocktime.