Fix LastSeenTimestamp not being updated properly.