Fix missing sorted_user argument