Fixed a few bugs re: label edits, workitem states.