Changed input range from months to days + fix