Fixed lazy loading in ORM