fix comparing dt and min_date in case dt.tzinfo != None