Update ORM.php

http://dev.kohanaframework.org/issues/4652

Also related to https://github.com/kohana/orm/pull/77