Fixed hasSessionStore issue