Fix silly crash from referencing a world that doesn't exist yet and simplify list iteration.