The Khazar-Magyar Alliance Explained