Bugfix: Apply offset at two points during recovery.
Cache metadata.