Fixed getPossibleLocations and getRequiredParty methods.