Ensure invalid subqueries cause the containing query to return no results
Ensure invalid subqueries cause the containing query to return no results

* Filter out all invalid resources from being used to get the target
  conditions in a relationship.

datamapper/dm-do-adapter,basex/ardm-do-adapter