Depending on the details, yes, it's better, like, "oh, I transited through Malaysia when leaving Singapore"
But remember "anything you say can and will be used against you", so don't go into details unless needed.
And to be honest, someone saying they traveled there because of the Botany, they're either a plant expert or this can be felt as they're hiding something.