fix not setting recorded status code if route select fails (e.g on 405)