Bugfix for issue #47851 \'Scheduler task fails when an event has no location\'