Adding if/else statements to supress legends for split-by categories > 10