Update spec_splitter.py

check for span multi-break (hideous code but unsure of better) fingers crossed.