The active table map was acquired with a modulo operation on the size of the array instead of the number of elements.