Fix regressions that caused crashes when glue'ing audio items.