Bugfix: Read too much during restore.