Updated indentation procedure so it only runs for child tickets