fixes a pgp lookup bug where uid didn't correspond and also sorts the conversations on add