remove_duplicate_results! should be protected
rdoc for some of the methods in JoinDependency
converge three lines into one
Merge pull request #10168 from neerajdotname/simple_improvements

Simple improvements