Fix the ending slash 404. Closes #350