limit the end date for the result