Resolved an issue where sometimes sessions would disappear completely.