Medium severity coverity issues. Refs #9939