Fixed error in monthly generator plugin.