Fix for eager loading of parent data in many to one relationship; where the parent has a primary key specified.