Variadic when now does not cast result values

This fixes a memory management issue.