Trying to handle nil for created_at