Fix for chained Joins having at least one table alias set

The (optional) alias of a Join is now unset at the end of each loop, preventing an incorrect alias to be set when chaining multiple Joins.