fix a bug when the ep number does not match the actual ep sort (ex. if season 2 ep 1 is name ep.25 in some shows), the code will incorrectly  uses 25 instead 1 for batch update.