I can only offer speculation. During those visits you mentioned, combat was taking place far (for some definition of distance) away from the place of visit, which sets the base risk. I understand that NATO has fairly good intelligence on all troop movements in the area which further quantifies the actual risk. Lastly: a prominent casualty might sway public support further in Ukraine's favour which probably isn't in Russia's interest.