NODE-184 Correct message size validation