Fix marked dates issue in next/previous month