Fixes a lookup error for nested value