Fixes https://github.com/OpenACalendar/OpenACalendar-Web-Core/issues/275 in master