Fixes session name on clearing.