Updated version
Fixed error check
Added support for prev/next at TV ep. level