A fix for case with entity having only one tag.