Apply suggestions from code review
Apply suggestions from code review

Including suggested change from @paulromano

Co-authored-by: Paul Romano <a436801bae4f27296736e9545e95ef593e23fd3e@gmail.com>
paulromano/openmc,liangjg/openmc,amandalund/openmc,shikhar413/openmc,paulromano/openmc,shikhar413/openmc,mit-crpg/openmc,mit-crpg/openmc,liangjg/openmc,walshjon/openmc,walshjon/openmc,walshjon/openmc,mit-crpg/openmc,amandalund/openmc,shikhar413/openmc,mit-crpg/openmc,paulromano/openmc,liangjg/openmc,walshjon/openmc,amandalund/openmc,paulromano/openmc,amandalund/openmc,shikhar413/openmc,liangjg/openmc