Added in a check to make sure that the spans don't start before the clip