Fix error reporting for inventory queries

Inventory query errors were raising exceptions due to a missed
change of a value.contents() method to a class property
1 file changed