Fixed bound variable name tracking bug