Fix: mapBreakpoints() function should iterate array safely