Fixed bug where a trailing semicolon was on some categories