Fix issues in readObjectsUpdatedAfterRevision with the new history-table...

... subselect