Fixed recv_add_uid() to properly differentiate users and groups.