Add lazy support for scopes with different foreign key names