fix bug in WorkflowTypeTreeView that would happen if a CategoryId and a WorkflowId were the same value