Fix bug last nth day of month