Fixed a bug in list_users