Fixed some minor bugs with MikaelAI2