Fix bug relating to rename of sessions chart variable