Fix off-by-one error in XMF node limit checking am: 980bc97b91

Change-Id: I79983da057edf1b100fe35a7bed39a34cad4e6eb