Fix project update for empty categories.