Do not use `dyn_cast<X>` after `isa<X>` (NFC)