Fixed end of latency array bug