Thanks Curtis, I found an easy way to do this without any coding required, just go in and set any hidden unused categories to inactive and problem fixed.