Fix server search

This fixes "400 Bad Request" error with chef-client 11.6.0. It also restricts the search for nodes in the same chef environment