Qāʾimun after illā is an accusative exception.
The Predicate of Mā and Lā Resembling Laysa