State tax filing

Ok ... so you have had the answer all along ... not sure how that temp contract could have been allowed for CA tax purposes legally.  Sounds like the contract is  trying to over ride state tax laws.  Seek  assistance with this from a preparer or attorney in CA  or again talk to the employer if you really want to fight this.