Fixed bug where edit would never 404.