Fix for content length tracking.