Fix: Clear selected elements after delete

Fix: Clear selected elements after delete