How to enable/disable proration of leaves based on exit?