Index: privatemsg.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/privatemsg/privatemsg.module,v
retrieving revision 1.70.2.30.2.91.2.69
diff -u -p -r1.70.2.30.2.91.2.69 privatemsg.module
--- privatemsg.module	4 Oct 2009 22:48:42 -0000	1.70.2.30.2.91.2.69
+++ privatemsg.module	8 Oct 2009 14:23:22 -0000
@@ -1032,6 +1032,9 @@ function privatemsg_sql_load(&$fragments
     $fragments['where'][]       = 'pmi.uid = %d';
     $fragments['query_args']['where'][]  = $account->uid;
   }
+  // Avoid bugs with multiple {pm_index} entries for the same user.
+  // @todo: Figure out why it does happen at all.
+  $fragments['order_by'][]    = 'pmi.is_new DESC';
 }
 
 /**
