Changes to make sure correct table names are returned to combineSGP