TRUNK-3826: Bug in PersonAttribute.compareTo

Follow to Bug in PersonAttribute.compareTo - TRUNK-3826