Fixed queries as field names differ between PartnerLibrary and Partner models.