Fix for numDataPoints truncation.