Parts API: Fix search.

Fix attribute errors on query objects.