Fix #13833 by logging the object that can't be found when reindexing the object security