Fix SetLevels for join points