--- pm_block_user.module	2010-12-27 09:33:04.000000000 +0000
+++ pm_block_user_new.module	2011-02-07 19:49:28.000000000 +0000
@@ -344,6 +344,7 @@ function pm_block_user_privatemsg_sql_au
     if (!empty($rids)) {
       $fragments['inner_join'][] = 'LEFT JOIN {users_roles} ur ON (u.uid = ur.uid)';
       $fragments['where'][] = 'ur.rid NOT IN (' . db_placeholders($rids) . ') OR ur.rid IS NULL';
+      $fragments['query_args']['where'] = array_merge($fragments['query_args']['where'], $rids);
     }
   }
 }
