Index: capabilities.php
===================================================================
--- capabilities.php	(revision 15537)
+++ capabilities.php	(working copy)
@@ -604,6 +604,10 @@
 	function set_role( $role ) {
 		foreach ( (array) $this->roles as $oldrole )
 			unset( $this->caps[$oldrole] );
+
+                if ( 1 == count( $this->roles ) && $role == $this->roles[0] )
+                        return;
+
 		if ( !empty( $role ) ) {
 			$this->caps[$role] = true;
 			$this->roles = array( $role => true );
