I get an error similar to this on two different moodle 1.2.1 sites when going to edit user accounts. It gives me this error and displays 0/2 (or number of users in the system).
Both of these sites are fresh installs. Anyone else experiencing this? Where is it finding this value to search for if it isn't in the mdl_user table?