I'm not sure if `edit_users` is a meta cap, but might want to do `current_user_can( 'edit_user', $id )` here.