Fixed deletion order

v3.3.1