Fix EZP-21138: deleted nodes remain in an eZ Flow block
(cherry picked from commit 85294145e9df392eaa943b9e3fa777209b65a8b3)