fix Deprecated getDefaultOptions() in date range type