No it was giving me issues, that's why I had $maxBuildings = null; But it didn't help. I can rename it perhaps, but it gets too problematic when someone changes the planet type via universe creator. I'll fix it for next patch.