Performance and readability changes along with only displaying months that exist in the data