Sound cue random doesn't work after packaging

I found a workaround to this problem and posted it in another thread here Random sound not actually random - #5 by Ardenstone