Hi Martijn,
I think the MxModelReflection has assigned different identifiers from your old domain model to your new Model. I assume you already refreshed MxModelReflection. If not, try that.
There is a template migration utility: https://marketplace.mendix.com/link/component/205008
See if that helps for you (I’m not sure if it can overcome the Module change you made).
When it will not work after the refresh, or you already refreshed, and the migration doesn’t work you need to re-built the templates.
Go Make It
I indeed refreshed the MxModelReflection, for now we manually recreated the Templates but thank you for pointing out that there is a Template migration utility.