Fix "results.sort is not a function" in tags autocomplete

This occured if there were no autocomplete results for an entered tag
string.