Bugfix SUP-4077
When using datasources with persistent caches and automatic sync-checking, the background sync check sometimes failed to invalidate objects from the cache. This has been fixed now, so that the cache will be cleared completely on the very first run of the background sync check (e.g. after a restart).