Fixed bug which caused multiple implicit lookup to fail due to failure to reinitialize the value for each loop.