fixing chart date filters