Update the user owned query.
Merge pull request #39 from jordandukart/7.x-fixes

Update the user owned query.