without prejudice to the right to file another complaint, unless the State of Nevada has previously filed a complaint against the defendant which was dismissed at the request of the prosecuting attorney. After the dismissal, the court shall order the defendant released from custody or, if the defendant is released on bail, exonerate the obligors and release any bail.
NRS 174.085