Make sure that dates are decoded before conversion