The hearing shall be held as soon as possible, but not more than twenty (20) days after the complaint was filed, except that the court may continue the hearing for up to ten (10) days for good cause and may continue the hearing for as long as necessary to impanel a jury if the defendant demands a jury trial.