Issue #1790252 by andrewbelcher | rlmumford: Fixed PartyQuery only works when the base table is 'party' unaliased.