Fix autoClose fail when singleDate is true

Fix autoClose fail when singleDate is true