Erase effects that have expired (Fixes #2134)