Fix bug where changing series field causes crash