Bug 845539: display correct error message for invalid phone numbers