Fixed indexing error while iterating through the Item referencing to an accessdirection numer in date format.