Yes, I removed that.
But the categories are still full of pages
That's just because the software is slow with updating. If you do a null edit on the pages they go away.