The Azerbaijan Airlines plane was en route from Baku to Grozny in Russia's Chechnya but was rerouted due to fog in Grozny.