Doing small fix to the not properly calculated record entry number.