Corrected bug concerning empty result at party filtering