Fix last seen / last restarted bug