Check object access when replaying log files

fixes #6205