FindAndRemoveChains updated to correctly collect chain results