Handling case where queue_totals is an empty Array