Make sure you explicitly list in the contract the court location too. Agreeing on the applicable law does no do it automatically and you do not want to travel to Mombasa to see how the local judge will interpret Californian law. I am not a lawyer so talk to one!
This said, get paid frequently, and document clearly what you promise. By my experience not getting paid is more expectable risk than getting sued.