After a transaction rollback the Selection caches should be flushed.
This is not the case and this is responsible for WARN log like
When accessing invalid cache entries.
To reproduce create a unit test CoreFeature, that creates docs and rollback.
The afterTearDown method will cleanup the session with a removeChildren("/"), the Selection cache contains the list of documents that are not present because of the rollback.