using quick selections threw a JS error when there are no locked dates