I saw some users before deleted some of their old posts even though they had posts more than the activity but still their accounts went ranked down.
However, if your old posts or topics were just deleted by mods I think it won't affect your account unless your post is lower than your activity after your posts were deleted by mods.