Fixing ticket search when dates are in the future

force ticket search result to null when input dates (startTime &
endTime) are in the future or startTime > endTime