Handle mkAi/mkPremade returning undefined