Fix wrong delete