[PD-457] Location sorting fix

Prevents duplicates from showing up when sorting by location in PRM.