[PLAT-5023] DP ids ignored in HTS master; Changed db filters to outright queries on masters due to slow performing iterating queries