Fix selection of last day