nearby_search was throwing an error during a valid search:
 * 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