Fix to ensure the slash route is handled properly.