Fix handling of ?from_date