Merge pull request #5700 from RosettaCommons/tjbrunette/loop_closure_chain_fix fix for if resBeforeLoop_ and resAfterLoop_ are not on the same chain in NearNativeLoop closure