Fix recent assertion failures that came with branch issue-84

As indicated in the new comment, this ensures that value-gets will
always cast their result even for float and double for which the
return type of the get call should already match.

I don't like mot understanding *why* this fixes the problem, and
I plan to investigate more.