Urgent gix st_collectextract
Merge pull request #433 from ebocher/fixCollectExtract

fix st_collectextract remove infinite loop.