The error check was inverse what it should have been, causing shaper.Reset to only get called with invalid cidrs.