AndrewPickford: check for existance of required export when doing an if inv query
diff --git a/reclass/values/invitem.py b/reclass/values/invitem.py
index e3201a0..84ea39d 100644
--- a/reclass/values/invitem.py
+++ b/reclass/values/invitem.py
@@ -312,7 +312,7 @@
results = {}
for node, items in inventory.iteritems():
- if self._question.value(context, items):
+ if self._question.value(context, items) and self._value_path.exists_in(items):
results[node] = copy.deepcopy(self._resolve(self._value_path, items))
return results