Fix for a valid nearby_search that was throwing an error unnecessarily.

* name, lat_lng, radius, and rankby=ranking.DISTANCE.
 * Test for error was:
   * if keyword is None and types == []
 * Should be:
   * if keyword is None and types == [] and name is None