Fixed SemiMonth bug