I added the () but that's not the problem. I added the next alert and
it shows the events length. But if I remove another event it still
shows the same number.
don't remove elements from the page, they just hide then. You could
remove them after the fade.