When a variable is redefined, check if old definition was used