Section 442(2) in The Code of Criminal Procedure, 1973
(2)Nothing in this section, Section 436 or Section 437 shall be deemed to require the release of any person liable to be detained for some matter other than that in respect of which the bond was executed.