Go over all allowedPrefixes