Fixed verifywavesegment bug in /upload/wavesegment API