Deal with NaN
[https://github.com/dresende/node-orm2/issues/310](https://github.com/dresende/node-orm2/issues/310)