Is this the correct form of the query? Shouldn't it be:
{
  "query":{
    "filtered":{
      "query":{ "term": "..." },
      "filter":{}
    }
  }
}