Fix for parameter types.

Solves https://github.com/j4mie/idiorm/issues/196