Fixes infinite recursion in LOOKUP.