Fix bug when analytics status doesn't initially exist.