Do a safer iteration. Real for loop instead of for in