Fix crash in NSString distanceFromString: method when passed invalid parameters