Fix playlist index bug.