Metadata: Fix client list calls use list_clients() which is DB-aware instead of just self.clients

Just changing the query calls to use the list_clients() function instead of just looking at self.clients. This fixes a bug where you delete a client from the database and the server does not recognize the change.