Your relationship with your company is governed by the bond terms. It is only the legal provisions that curtail the bond clauses such as restraint of trade and right to work, these clauses if inserted will not make the whole bond void-ab-initio, instead it will eclipse those clauses. It’s detailed study is provided on the link provided(Swipe Right)