Variadic when now does not cast result values

This fixes a memory management issue.
Merge pull request #119 from jeroenvloothuis/master

Variadic when now does not cast result values