Bugfix at snapshot recovery