Removed an unecessary condition to prevent empty categories.  Condition has been moved to the printing function.