Fixed more bugs in my new cross-posting code. The code already probably needs to be refactored… Lots of complexity and edge cases.

Fixed more bugs in my new cross-posting code. The code already probably needs to be refactored… Lots of complexity and edge cases.