Fixed bug in orm hydration