minor constraint in the entity rank calculator