Apply the attribute list fix from 8017810c4 also when handling LDAP contacts.