fixed node type inheritance issue in queries exposed by the ODM test suite