FIXED: Create new output element if there is output after a clear.