Thank you for your response, the updated code works perfectly.
Thanks for the response Thomas.
It looks like the Theme being used as placing another set of recommended posts, and that was the problem.
I thought it was jetpack’s recommended posts, but those correctly reset the post data.
I removed the related posts that the theme places, and the issue cleared up.
Now everything is working as intended, and your plugin is a huge help.