Fixed last bugs on recovery of a dirty metadata