This fixes comparison of an event to the end of the week, so "end" can't incorrectly be 7 anymore. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/835 Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/672>
This prevents an empty search entry from having the error style, otherwise typing in it just once and not finding a location will keep the entry red until the app is started anew.