Fixing cue edit for bad index and returning names instead of order