TRUNK-3826: Bug in PersonAttribute.compareTo