Fix wrong party relate domain

active_ids is a list and so it should be "in" operator instead of "=".

issue4312
review11621002