changed the way date time arrested is matched to be more general