Apply @pshriwise suggestion from code review
Apply @pshriwise suggestion from code review

Co-Authored-By: Patrick Shriwise <7a819784e32947fdfa5b0c5b17eca16168b56115@gmail.com>
smharper/openmc,amandalund/openmc,liangjg/openmc,smharper/openmc,walshjon/openmc,shikhar413/openmc,liangjg/openmc,amandalund/openmc,walshjon/openmc,shikhar413/openmc,walshjon/openmc,amandalund/openmc,amandalund/openmc,shikhar413/openmc,paulromano/openmc,smharper/openmc,paulromano/openmc,liangjg/openmc,walshjon/openmc,shikhar413/openmc,mit-crpg/openmc,mit-crpg/openmc,paulromano/openmc,mit-crpg/openmc,liangjg/openmc,smharper/openmc,mit-crpg/openmc,paulromano/openmc