Multiple joins with solutionset

A set of changes to allow more than one joins with the Solution Set.