HUE-1189 [beeswax] Lazily build autocomplete tree

Fixed a bug with alias autocompletion