Fix dynamic deletion logic