Fixed multiple table joins

I noticed that trying to do more than one join of the same type doesn't work due to subsequent joins of the same type from overwriting the prior join. This is a small fix to allow for any number of joins.

I also removed this line 487 of QueryBuilderHandler.php while I was in there as it doesn't do anything

    $joinBuilder = & $joinBuilder;