The new update to MadCAM fixed the problem. Thank you.