A question about Anatolian Turks and Azerbaijanis

Why is the DNA profile of an average Azerbaijani Turk completely compatible with a Kurd with some Turkic ancestry? Come on, I get this, Anatolian Turks are genetically compatible with an Anatolian Greek or an Armenian with some Turkic ancestry, but were there Kurds in the Azerbaijan region before the Turkic invasion?