Updated findblock cron to use block->getLastValid