Fix a bug in Analysis.split.