Fix issues in members and distributors search