HUE-1649 [beeswax] Autocomplete error

Fixed case for WHERE on new lines and added keywords for the end of queries