Fixed bug in energy month view