Fixed validation of numbers in ASS files.