Fix braindead implementation.  And I seemed to have missed the failing test indicating it too.  Sorry people, shouldn't commit on the rush...
Fix braindead implementation.  And I seemed to have missed the failing
test indicating it too.  Sorry people, shouldn't commit on the rush...

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