Otherwise we leak the range. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/664>