Remember that one of the entities is an ANIMMESH - it may be that the child mesh that is the actual visual character is not near the centre of the entity.
Try finding the anim mesh's child that is the visual mesh, then using entitydistance on that.
Try finding the anim mesh's child that is the visual mesh, then using entitydistance on that.