Resolve a core flow in the logic for lookupEntry