Emergency sessioncounter fix.