Fix stupid bug in analytics