fixed issues with constructing annotations on restored sessions that already had annotations.