Fixes proper checking of txt subtitles validity