Remove an unnecessary NULL check from the TUI