fix membership aggrigation in combination with backward compatibility