Fixed bug with starting new session and the previous visit timestamp.