Isolated and fixed duplicate session bug.