:bug: make sure the start_date and end_date vars are not added when the dates are empty