Fixed the timestamp comparator - was converting long's to int's, so the sorting didn't work when the difference in timestamps was too great (e.g. if one chat target had no messages).