Correct iteration in photos subnode