SDK-1468. Check reqs[j] is not null when checking for earliest chunks
SDK-1468. Check reqs[j] is not null when checking for earliest chunks

Also fixed a string concat (integer was added to char* before, but clearly this should be string concat)

meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk