Fixes issues with malformed srt files

I still manage to successfully parse and convert these files, so these checks do help.