The plane was originally scheduled to travel from the Azerbaijani capital of Baku to the Russian city of Grozny.