Fixed bug with previous visit timestamp.