If this country’s system were better they would say “while in the commission of a crime or in the attempt” means no money.
I agree. If you are breaking the law, then you (and any family members) should automatically forgo all rights to any kind of monetary windfall - PERIOD!
If you get shot/killed while robbing a store, your family has no right to expect the store to voluntarily allow that robbery to occur and you, nor your family, should be allowed a windfall due to your illegal activities!