findEntityNamesUsed is buggy when working with related entities. The relation name may not actually be an Entity; there could be a title involved. The actually entity name might change, depending on the original entity that is being looked up against.
Does anyone else agree with my reading of this method? If so, what should be done to fix this problem?