add missing index on pack.released