Even then, all his work was based on a lie, he didn't know what it would really do.
Also there is more to Kaguya's plan then just turning everyone into White Zetsu's, that is just the next phase, it wouldn't make sense for Kishi to switch back to Madara when his plan ended at IT being...