CDS physical delivery settlement

Isnt it weird that maturity of the bond delivered is not taken inot consideration and only seniority is taken into consideration while settling the CDS in the event of default?

No. Upon default all creditors at the same level of seniority have a pro-rata claim, regardless of remaining maturity.