corrected proposal loop to compare only against year and month