Don't use Qt foreach for any iteration over planets list.