Corrected some bugs on MultiJoin class