Fix crash when marking podcast as listened

Fixes #4674