Fix: Handle null/invalid worlds in Str2Loc