Fix error when analytics is disabled while normalizing analytics_session