fixing bad date/service_type evaluation