Issue #49 Implementing nested queries with contains