The primary purpose of section 11(b) is to protect the following rights of individual accused: (a) the right to security of the person; (b) the right to liberty; and (c) the right to a fair trial.