Fix Model.find(0)

Fix for #543

Thanks to iamjochem for the test case.