Fixed bug that failed test 'set level on all categories'