Refs #9247. Fixing unchecked return on iterator.
Refs #9247. Fixing unchecked dynamic cast.
Refs #9247. Fixing some uninitialized members.
Merge branch 'bugfix/9247_vates_coverity_issues' into develop