Now that we compare GUIDs instead of the index we can actually replace this with a for-each loop.