correct bug with date start - date end on match