fix for searchINDEX not working

See https://github.com/normanjoyner/chef-api/issues/2