allow setting primary category to None