Fix a regression in the stateconf renderer and updated docs.
Merge pull request #3896 from kjkuan/stateconf-bug-fixes

Fix a regression in the stateconf renderer and updated docs.