Fix for how message size is computed after message is altered.