Remove cached results when removing a path.