Fix edit case routing