Fixed selection not being properly updated upon deletion
Fixed usage of isDescendant()
Sort tag names in autocomplete widget