Fix bug in constructCommentControls.