Fix bugs on quick search dates