From your description, I presume you're using the MiddleValues function. The GetValue function does not include a trailing return in its result.
Aha, I'll give that one a go ;-)
The wonders of using solution without looking any further.
Yep, as suspected, that works ;-)