If an entry doesn't have series info, `entry['series_name']` will crash. Use `if 'series' in config and 'series_name' in entry and 'series_id' in entry` to check whether the entry has the fields without crashing.