Fix markPlayed bug.