SSP-1417 Cleanup/centralize reference data filtering code