XML copy from sandbox to production: Page not working the same

I am coping the XML of a page from sandbox to production. Sandbox is on version 9.5.1 and production is on 9.5.7. When the page loads in production certain render conditions are not being honored. Basically the page works properly in sandbox but breaks in production.

Has anyone else experienced this?

Have you tried importing and exporting page packs instead of copying and pasting XML?
https://docs.skuid.com/latest/en/skuid/pages/import-export-page-packs-modules.html