Fixed mutation removal not substracting stats sometimes (fixes #5627)