Fix small bug in collector.c …
- this appeared while fixing GC bug
- the sync rec should be sent only when the ready stream set is empty --> otherwise, it may forward unexpected sort end. This happens when there is initial branches mixed with non-initial ones.