Fix adding a message when no errors but not valid.