The "masterPos" field in refreshLinks can be false so check for that

Change-Id: I445e10da122e5f24e589f1eb078a31605b9f2e13
Merge "The "masterPos" field in refreshLinks can be false so check for that"