Following a deleted chapter link leads to a 500 error