Parse severity correctly.