coverity#1213073-5 Unchecked dynamic cast

Change-Id: I166fdb236f5f70ae854d14b00860a6ef2b814b32