Issue [#822076] by Lendude: addresses used with CCK may use multiple entries in one go and thus we need to use the correct index. Also fixed a possible E_NOTICE.