Handled the case of tags whose values are tags