Fixes id update on recovery