The source does not treat relative «أَيّ» as always indeclinable.

Relative Nouns — Ṣilah, ʿĀʾid, Forms and Syntax