Fixed some issues with reading validation messages.