Fixed event removal so it doesn't randomly keep the last element of the default events