Update UnitOfWork.php

Defereed eager loading of inherited entities. Big performance gain!