Fix scheduled_at string to time conversion