Bug fixes in up/down loop and event weights.