Trim the phone number before checking for empty