if there's no query we should not return anything; right now we are returning the whole list of tags, and this is exactly what we want to avoid