The reason why it happens is because when you die, the script resets. When you spawn a curse, it's programed to not attack you, who spawned it. But if you die, the script will reset and you will become a entirely different person to the curses, so they attack you thinking it's a enemy. Not gonna lie, they should fix this.
Nah... it's accurate, Toji once said that if he killed Geto those curses would've set free so they'll just return to their average curse behavior, so it makes sense that the curses returned average curses again