Fix a bug in LookupTable:updateOutput()