Fix bug where tracing interfered with bounds inference.