Make previous emit_series fix a bit cleaner.