floatingPawnMovement code understanding

I am just reading code and stuff. and there is a section I really feel I miss something.

void UFloatingPawnMovement::TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction)

there is the lines:

// if it's not player controller, but we do have a controller, then it's AI
// (that's not following a path) and we need to limit the speed
else if (IsExceedingMaxSpeed(MaxSpeed) == false)
	Velocity = Velocity.GetUnsafeNormal() * MaxSpeed;

what I don’t understand is that to me it seems that the comment says we want to limit our speed (if it is above max speed than set it to max speed), but the code seems to increase the speed if it is below max speed. Did I not understand correctly the code or the comment?