[ci skip] Fix an error with DB sessions triggered with regenerate + destroy
1 file changed