Fix to enable date ranges to be used in rag fields
Fix CURDATE use in date range