Do not use dyn_cast<> after isa<>