Add protection against events with 0 weight