SERVER-6071 correct assert code