Add a cast plus a check that the cast works. Yet another warning squashed.
Add a cast plus a check that the cast works.
Yet another warning squashed.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb