Fixing flow_removed stats. Stats must be consolidated before calling the hook