Fixed a bug that might cause the wrong episode to be auto-deleted