smart album won't change back to SQL
smart album editor recognizes CAST(DATE_VAR, "NSDATE")