Some error message cleanup to fix segfault when transposing sparse vector with illegal values.