Fixes broken autoadvance when track ends on its own