first create cplane with x orientation in projected direction of the pipe then run bounding box with cplane option.
i believe its far from origin problem. but why in one axis only?
it is absolutely not okay that i stumble upon terrible errors like this way too often on daily basis. bugs are acceptable when they occur sporadically and for special complicated cases. rhino has bugs which can be classified as fundamental issues.