Simplifying routing a bit helps me to check which endpoint the user is visiting. Also will make it a lot easier down the road to rewrite, whenever I get around to renaming "autocomplete" to a more appropriate name (like "suggestion" or something).