Make the set_state() function respect redirects already present on the route. Still...