Query for finding tasks for an owner.