fix for NumberOfMasters=2

Change-Id: Ica39174bcd5fccefadcbe80674af1a5c92464e79