Fixes multiple deletion errors