Fix notices when categories are disabled. Closes #10