Statistics API returns 0 for waiting count even when queue is busy

We are building a custom dashboard for agent status using the .NET SDK. I am calling GET /api/v2/analytics/queues/realtime with the queue ID. The response comes back with 200 OK but the waiting count is always 0. There are definitely people waiting. I have checked the queue ID and the token is valid. The JSON payload shows agents available but no waiters. Here is the code snippet I am using. What am I missing?