Update of combineSGP, simplifying joins that occur