Homestyx hydra

R1:7b5471b1aea2

fix perf regression when using 'owned' query

Summary:
D6335 has some unexpected side effects. This adds back the
where clause for the owned query. There may be other problems.

Test Plan:
Ran:

```
echo '{"query":"owned","guids":["myphid"]}' | arc --conduit-uri=https://myhost call-conduit differential.find
```

Reviewers: epriestley, dschleimer

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D6832
Repository: R1 hydra
Commit Date: Aug 28 2013