Added protection against LookupBool changing semantics. #3470