Portfolio does not count only profits, it counts also inflows so it can be manipulated by this "bug".