fix custom_date to filter correctly on the toolbar filter.